package org.goyo.main.domain.dao.storage;

import java.util.List;

import org.goyo.common.exception.DBException;
import org.goyo.common.utils.Pager;
import org.goyo.main.domain.dao.IBaseDAO;
import org.goyo.main.domain.entity.storage.PurInStorageEntry;

public interface IPurInStorageDao extends IBaseDAO{
	/**
	 * 条件查找
	 * 
	 * @author chenchuan
	 * 2014年10月23日
	 */
	public Pager findByCond(String cond,Pager pager,Object[] groupUuids) throws DBException;
	
	public List<PurInStorageEntry> findByParentId(String parentId) throws DBException;
	
	public double getSumQty(String materialId,String bizType) throws DBException;
	
	public double getSumOrderQty(String saleOrderEntryId,String bizType) throws DBException;
}
